Platform Explorer / Nuxeo Platform 2021.47

Component org.nuxeo.coldstorage.bulk.contrib

Resolution Order

78
The resolution order represents the order in which this component has been resolved by the Nuxeo Runtime framework.
You can influence this order by adding "require" tags in your component declaration, to make sure it is resolved after another component.

Contributions

XML Source

<?xml version="1.0"?>
<component name="org.nuxeo.coldstorage.bulk.contrib">

  <extension target="org.nuxeo.ecm.core.bulk" point="actions">
    <action name="moveToColdStorage" inputStream="bulk/moveToColdStorage"
      bucketSize="100" batchSize="20" httpEnabled="true" />
    <action name="propagateMoveToColdStorage" inputStream="bulk/propagateMoveToColdStorage"
      bucketSize="100" batchSize="20" httpEnabled="false" />
    <action name="propagateRestoreFromColdStorage" inputStream="bulk/propagateRestoreFromColdStorage"
      bucketSize="100" batchSize="20" httpEnabled="false" />
    <action name="checkColdStorageAvailability" inputStream="bulk/checkColdStorageAvailability"
      bucketSize="100" batchSize="20" httpEnabled="false" />
  </extension>

  <extension target="org.nuxeo.runtime.stream.service" point="streamProcessor">
    <streamProcessor name="moveToColdStorage"
      class="org.nuxeo.coldstorage.action.MoveToColdStorageContentAction"
      defaultConcurrency="${nuxeo.bulk.action.moveToColdStorage.defaultConcurrency:=2}"
      defaultPartitions="${nuxeo.bulk.action.moveToColdStorage.defaultPartitions:=4}">
      <policy name="default" maxRetries="3" delay="1s" maxDelay="10s" continueOnFailure="true" />
    </streamProcessor>
    <streamProcessor name="propagateMoveToColdStorage"
      class="org.nuxeo.coldstorage.action.PropagateMoveToColdStorageContentAction"
      defaultConcurrency="${nuxeo.bulk.action.propagateMoveToColdStorage.defaultConcurrency:=2}"
      defaultPartitions="${nuxeo.bulk.action.propagateMoveToColdStorage.defaultPartitions:=4}">
      <policy name="default" maxRetries="3" delay="1s" maxDelay="10s" continueOnFailure="true" />
    </streamProcessor>
    <streamProcessor name="propagateRestoreFromColdStorage"
      class="org.nuxeo.coldstorage.action.PropagateRestoreFromColdStorageContentAction"
      defaultConcurrency="${nuxeo.bulk.action.propagateRestoreFromColdStorage.defaultConcurrency:=2}"
      defaultPartitions="${nuxeo.bulk.action.propagateRestoreFromColdStorage.defaultPartitions:=4}">
      <policy name="default" maxRetries="3" delay="1s" maxDelay="10s" continueOnFailure="true" />
    </streamProcessor>
    <streamProcessor name="checkColdStorageAvailability"
      class="org.nuxeo.coldstorage.action.CheckColdStorageAvailabilityAction"
      defaultScroller="${nuxeo.bulk.action.checkColdStorageAvailability.scroller:=default}"
      defaultConcurrency="${nuxeo.bulk.action.checkColdStorageAvailability.defaultConcurrency:=2}"
      defaultPartitions="${nuxeo.bulk.action.checkColdStorageAvailability.defaultPartitions:=4}">
      <policy name="default" maxRetries="3" delay="1s" maxDelay="10s" continueOnFailure="true" />
    </streamProcessor>
  </extension>

</component>